import { DBObject } from "./DBObject";
import User from "./User";

export class Commet extends DBObject {
  public user: User | null = null;
  public commet: string = "";
  public reply: CommetReply[] = [];
  public agreeCount: number = 0;
  public disagreeCount: number = 0;
}
export class CommetReply extends DBObject {
  public userId: string = "";
  public userName: string = "";
  public avatar: string = "";
  public reply: string = "";
}
